﻿using System;
using System.ComponentModel;
using Slippor.Common.PluginFramework;
using Slippor.Douban.Radio.Handler;
using System.Threading;

namespace RestoreHandlerPlugin
{
    [Description("将播放过的豆瓣电台的音乐整理保存起来。\n使用说明：http://slippor.blogbus.com/logs/63827455.html")]
    [DisplayName("存储歌曲")]
    [Author("拖鞋不脱")]
    [Version(typeof(RestoreVersion), "2.0.1.0")]
    [PluginCategory(PluginCategory.Handler)]
    [Config(typeof(RestoreConfig))]
    public class RestoreHandlerPlugin : HandlerPlugin
    {
        private readonly RestoreHandler _autoRestoreHandler;
        protected override IHandler Handler
        {
            get { return _autoRestoreHandler; }
        }

        public RestoreHandlerPlugin()
        {
            _autoRestoreHandler = new RestoreHandler();
        }
    }
}